package org.zjkoye.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;
import org.zjkoye.crm.entity.Workorder;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjkoye
 * @since 2024-06-23
 */
public interface WorkorderMapper extends BaseMapper<Workorder> {

    @Update("UPDATE business SET status = #{status} WHERE work_order_id = #{workOrderId}")
    void updateStatusByWorkorderId(Integer workOrderId, String status);
}
